package com.df.my_net_game.common.controller;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 收集protobuf的类，生产映射
 */
@Target(ElementType.TYPE)
//@Retention(RetentionPolicy.RUNTIME)
@Component
@Retention(RetentionPolicy.RUNTIME)
public @interface CollectProtobuf {
    String[] basePackages() default {};
}
